<template>
  <div class="test-style-deep">

    <div class="header">头部</div>
    <div class="body">身体</div>
    <div class="footer">脚</div>

  </div>
</template>

<script>
export default {
  name: 'TestStyleDeep'
}
</script>

<style lang="scss">
.test-style-deep {
  .header {
    color: red;
  }
  .body {
    color: pink;
  }
  .footer {
    color: hotpink;
  }
}
</style>
